package com.today.usercenter.network;

import com.today.lib.common.network.BaseRetrofitHelper;
import com.today.usercenter.network.api.TaskService;
import com.today.usercenter.network.api.UserService;
import com.today.usercenter.Constants;

/**
 * Retrofit帮助类
 */
public class RetrofitHelper extends BaseRetrofitHelper {
    public static UserService getUserApi() {
        return createApi(UserService.class, Constants.BASE_URL);
    }

    public static TaskService getTaskApi() {
        return createApi(TaskService.class, Constants.BASE_URL);
    }
}
